package com.niiwoo.civet.trade.dto.request.myloan;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * app还款
 */
@Getter
@Setter
public class BorrowerProjectAppDTO implements Serializable{
    private static final long serialVersionUID = -3404931659059280067L;
    private String userId;
    private Long projectId;
    /**
     *  0立即还款，1用户提前结清，2用户逾期还款（可以是部分还款）
     */
    private Byte type;

    private Boolean isWithhold = false;

    /**
     * 手动指定代扣金额
     */
    private BigDecimal withholdAmount = BigDecimal.ZERO;
}
